<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');

echo	"<h2>".$this->lang->line("REGISTRATION_ACTIVATE".((!isset($getUser)?("_ERROR"):(""))))."</h2><br/>";

if(isset($getUser)) {
	if($getUser) {
		echo	"<div class=\"success\">".str_replace("<USR_FULLNAME>", $getUser[key($getUser)]["fullName"] ? $getUser[key($getUser)]["fullName"] : $getUser[key($getUser)]["usrEmail"], $this->lang->line("REGISTRATION_ACTIVATED"))."</div>";
	} else {
		echo	"<div class=\"error\">".$this->lang->line("ACTIVATION_CODE_COULD_NOT_FIND_OR_USER_HAS_ALREADY_BEEN_ACTIVATED")."</div>";
	}
} else {
	echo	"<div class=\"error\">".$this->lang->line("ACTIVATION_CODE_COULD_NOT_FIND")."</div>";
}